<?php

/* 
 * public/index.php
 */

// FILE SYSTEM
define('DS', DIRECTORY_SEPARATOR);
define('PARENT_DIR', '..');

// PATH
define('BASE_PATH', __DIR__);
define('SYSTEM_PATH', __DIR__ .DS. PARENT_DIR .DS .'system' .DS);
define('MODULE_PATH', __DIR__ .DS. PARENT_DIR .DS .'module' .DS);
define('CONFIG_PATH', __DIR__ .DS. PARENT_DIR .DS .'config' .DS);

require_once SYSTEM_PATH . DS. 'Shinobi' .DS . 'bootstrap.php';

// Chargement de l'application
$app = new \Shinobi\Application\Application();

$loader = $app->getAutoLoader();

var_dump($loader);